package com.imagination.applet.domain.virtualidentity.model;

import com.imagination.applet.domain.common.entity.AbstractEntity;
import com.imagination.applet.domain.common.persistence.MapJsonConverter;
import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import java.util.Map;

@SuperBuilder
@Entity
@Table(name = "t_user_virtual_identities")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class UserVirtualIdentity extends AbstractEntity {

    @Column(name = "user_id")
    private Long userId;

    @Column(name = "training_status")
    private Integer trainingStatus;

    @Column(name = "thumb_product_image_id")
    private Long thumbProductImageId;

    @Column(name = "prompt")
    private String prompt;

    @Column(name = "extensions", columnDefinition = "json")
    private String extensions;

    @Column(name = "deleted", insertable = false)
    private Integer deleted;

}
